.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  transition: all .5s;
  .mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba($color: black, $alpha: 0.7);
  }
  &.slide-enter-active{
    top:0;
  }
  &.slide-leave-active{
    top:-100%;
  }
  &.slide-enter{
    top:-100%;
  }
  .modal-dialog {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 660px;
    height: auto;
    background-color: #ffffff;
    opacity: 1 !important;
    transform: translateY(-50%);
    transform: translateX(-50%);
    .modal-header {
      height: 60px;
      background-color: #f5f5f5;
      padding: 0 25px;
      line-height: 60px;
      font-size: $fontI;
      .icon-close {
        // @include positionImg(absolute, 23px, 25px, 14px, 14px, '/imgs/icon-close.png')
        position: absolute;
        top: 23px;
        right: 25px;
        width: 14px;
        height: 14px;
        background: url(/imgs/icon-close.png) no-repeat center;
        background-size: contain;
        transition: transform .3s;
        &:hover {
          transform: scale(1.5);
        }
      }
    }
    .modal-body {
      padding: 42px 40px 54px;
      font-size: 14px;
    }
    .modal-footer {
      height: 82px;
      line-height: 82px;
      text-align: center;
      background-color: $colorJ;
    }
  }
}